package com.service;

import com.model.TestClass;
import java.util.List;

/**
 * Created by Administrator on 2018-9-17 0017.
 */
public interface TestClassService {

    TestClass getTestUserById(Integer userId) throws Exception;

    int insertTestUser(TestClass testUser) throws Exception;

    int updateTestUser(TestClass testUser) throws Exception;

    List<TestClass> getAllList() throws Exception;

    int deleteById(Integer userId) throws Exception;

    /**
     * 查询总记录数目，分页用
     * @return
     */
    int selectCount() throws Exception;

    List<TestClass> getClassByName(String name) throws Exception;

    TestClass selectByName(String username) throws Exception;


}
